package com.ktjy.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.jdbc.datasource.DataSourceTransactionManager;

@Configuration
@ComponentScan("com.ktjy.service")
public class Serviceconfig {
@Bean
    public DataSourceTransactionManager transactionManager() {

    return  transactionManager();
}
}
